# -*- coding:utf-8 -*-

from Apps.common.custommodel import CustomModel, ModifyModel
from django.db import models


class Theme(ModifyModel):
    # 主题名称
    name = models.CharField(null=True, blank=True, max_length=30, verbose_name='主题名称')
    # 样式值，json文件
    value = models.TextField(null=True, blank=True, default='', verbose_name='样式值，json')
    description = models.CharField(null=True, blank=True, max_length=30, default="")

    class Meta:
        db_table = 'theme'
        verbose_name = db_table
        ordering = ('-create_time',)
